package com.xcity.pomelo.push;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.PomeloPacket;
import naga.x.net.impl.pomelo.protocol.Message;

@PomeloMessage(type = Message.Type.PUSH)
public abstract class AbstractMessagePush extends PomeloPacket {

	protected String msgId;
	
	public static final String MSG_ACHIEVE_FINISHED = "onAchieveTip";
	public static final String MSG_BUFFS = "buffList";
	@Deprecated
	public static final String MSG_EXP_ADDED = "onExpUpTip";
	public static final String MSG_FRIEND_APPLY = "onAddFriend";
	public static final String MSG_LAND_BE_ACQUIRED = "onInCome"; // 地标被别人收购
	public static final String MSG_LEVEL_UP = "onLvupTip";
	public static final String MSG_RECHARGE = "onUserRecharge";
	public static final String MSG_SYSTEM_FINE = "onRobbery";
	public static final String MSG_TIP = "onNotify";
	public static final String MSG_TREASURE_BOX = "treasure";
	public static final String MSG_DOT_TIP = "onDotTip"; // 红点提示
	public static final String MSG_CONFIRM_BOX = "onConfirm"; // 确认框
	public static final String MSG_NEW_MAIL = "onMail"; // 新邮件
	public static final String MSG_STONE_LACK = "stoneLack"; // 钻石不足 
	public static final String MSG_MYSTERY_SHOP = "mysteryShop"; // 神秘商店
	public static final String MSG_PVE_END = "stageEnd"; // pve关卡结束
	public static final String MSG_BE_ATTACKED = "beAttacked"; // 建筑被攻击
	public static final String MSG_ONE_YUAN_ACTIVITY = "1yuan"; // 推送一元夺宝状态
	public static final String MSG_BUY_TIP = "buyTip"; // 购买弹框提示
	public static final String MSG_BATCH_ITEMS = "batchItems"; // 获得一批物品
	public static final String MSG_COMBAT_ROUND = "combatRound"; // 推送一个战斗回合信息
	@Deprecated
	public static final String MSG_COMBAT_ACTION = "combatAction"; // 推送一个战斗动作信息（一个回合由多个动作组成）
	public static final String MSG_COMBAT_END = "combatEnd"; // 战斗结束
	public static final String MSG_VISITOR_IN = "visitorIn"; // 别人来参观自己家
	public static final String MSG_VISITOR_OUT = "visitorOut"; // 参观者离开自己家
	public static final String MSG_STRENGTH_MEAL = "strMeal"; // 推送体力奖励（午餐、晚餐）
	public static final String MSG_BUILD_LEVEL_UP_TIP = "buildLvlUpTip"; // 提示玩家可升级某建筑
	public static final String MSG_ACTIVITY_STATE = "activity"; // 推送活动状态
	public static final String MSG_PLATFORM_GIFT = "pGift"; // 推送平台礼包信息
	public static final String MSG_MINE_CHANGE = "mineChange";// 推送矿点变化
	public static final String MSG_QQ_SHARE = "share2"; // 推送qq玩吧分享信息
	public static final String MSG_RECHARGE_REWARD = "rrState";// 推送充值奖励(蝙蝠侠啥的)的状态
	
	public AbstractMessagePush(String msgId) {
		this.msgId = msgId;
	}

	public String getMsgId() {
		return msgId;
	}

	public void setMsgId(String msgId) {
		this.msgId = msgId;
	}
	
}
